//
//  SpeechHeadView.m
//  HeWeiZhiNeng
//
//  Created by 林建 on 17/12/7.
//  Copyright © 2017年 YanCeyMichael.github.io. All rights reserved.
//

#import "SpeechHeadView.h"

@implementation SpeechHeadView

-(instancetype)initWithFrame:(CGRect)frame{
    if (self =[super initWithFrame:frame]) {
        self.titleLabel = [UILabel new];
        [self addSubview:self.titleLabel];
        self.titleLabel.text = @"设置专门的语音控制，点击图标跳出设置框";
        self.titleLabel.font = Common_Font(14);
        self.titleLabel.textColor = Color.stub;
        
        [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.mas_equalTo(self.mas_top).offset(15);
            make.bottom.mas_equalTo(self.mas_bottom).offset(-25);
            make.left.mas_equalTo(self.mas_left);
            make.width.mas_equalTo(kScreenW-30);
        }];
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
